package com.babyqiao.wallpaper.portal.service.impl;

import com.babyqiao.wallpaper.portal.entity.ActorInfo;
import com.babyqiao.wallpaper.portal.dao.ActorInfoMapper;
import com.babyqiao.wallpaper.portal.entity.vo.ActorResVO;
import com.babyqiao.wallpaper.portal.service.IActorInfoService;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author QLZ
 * @since 2021-02-24
 */
@Service
public class ActorInfoServiceImpl extends ServiceImpl<ActorInfoMapper, ActorInfo> implements IActorInfoService {

    /***
     * 根据演员ID获取演员信息
     * @Author QLZ
     * @Date 2021/2/28
     *  @param actorId :演员id
     *  @return: com.babyqiao.wallpaper.portal.entity.vo.ActorResVO
     */
    @Override
    public ActorResVO findActorService( String actorId) {
        ActorResVO actorResVO= baseMapper.selectActor(actorId);
        return actorResVO;
    }
}
